<?php


namespace app\api\behavior\order;


class WaitPayment
{
    protected $model;

    public function run($model)
    {
        $this->model = $model;
        //超时未付款提醒
        $this->payment();
        return true;
    }

    /**
     * 超时未付款提醒
     */
    public function payment()
    {
        $remindTime = config('setting.order')['cancel_time'];
        if (!$remindTime) {
            return false;
        }
        $time = time() - $remindTime;

    }
}